package creational.builder;

public class BuilderDemo {
    public static void main(String[] args) {
        HouserBuilder houserBuilder = new HouserBuilder();
        InvoiceBuilder invoiceBuilder = new InvoiceBuilder();
        Director.bulidHouse(houserBuilder);
        Director.bulidHouse(invoiceBuilder);
        Houser house = houserBuilder.build();
        Invoice invoice = invoiceBuilder.build();
        System.out.println(house);
        invoice.print();
    }
}
